#!/usr/bin/env python3

import os
import sys

if len(sys.argv) < 2:
    print('Usage: wrap.py <file>')
    os.exit(1)

for i in open(sys.argv[1], encoding='utf-8'):
    n = len(i)
    print(n, i)

